﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Navigation;
using Microsoft.Phone.Controls;
using Microsoft.Phone.Shell;

namespace YellowMap.View.Control
{
    public partial class ToastControl : UserControl
    {
        public ToastControl()
        {
            InitializeComponent();
        }

        public void Show(string note)
        {
            Visibility = System.Windows.Visibility.Visible;
            txtNote.Text = note;
            sbShow.Begin();
        }
    }
}
